import {Dao, newSuccess} from 'yvan-server'

export function selectAll(): Model<any[]> {
    const query = Application.getHttpRequest().getQueryParam()
    // const data = Dao.selectListAny('CustomService.selectAll', query.toDaoParam())
    const data = Dao.selectListAny('CustomService.selectAll', query.toDaoParam())

    return newSuccess(query.pageDb, data);
}
